package com.inspur.edp.ai.flow.node;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.inspur.edp.ai.flow.metadata.AbsNode;
import com.inspur.edp.common.expr.ExprListJsonDeserializer;
import com.inspur.edp.common.expr.evaluator.ExpressEvaluator;
import com.inspur.edp.common.expr.expresses.setvalue.AssignValueExpr;
import lombok.Data;

import java.util.List;

/**
 * @author lizhaorui
 * @date 2025/9/16
 * @description
 */

@Data
public class BatchAssignValueNode extends AbsNode {

    public static final String KIND = "batchAssignValue";

    @JsonDeserialize(using = ExprListJsonDeserializer.class)
    private List<AssignValueExpr> expresses;

    @JsonIgnore
    private List<ExpressEvaluator> expressEvaluators;

    public BatchAssignValueNode() {
        this.setKind(KIND);
    }
}